package cn.hyy.FVOnline.service;

import cn.hyy.FVOnline.entity.PageEntitys;
import cn.hyy.FVOnline.entity.Shop;
import org.springframework.web.multipart.MultipartFile;

import java.awt.image.BufferedImage;

public interface ShopService {

    Shop findByUserId(Shop shop);

    void newShop(Shop shop, MultipartFile file);

    BufferedImage findHS(String userId);

    Shop findById(Integer id);

    PageEntitys findPageShopList(String name, Integer page, Integer pageSize);

    void delShop(Integer id);

    PageEntitys findPageShopList2(Integer page, Integer pageSize);

    void addShop(Integer id);
}

